package com.lanou.zhihu.entity;

/**
 * Created by QuChao on 2018/10/24.
 */
public class Topic {
    private Integer id;
    private String title;
    private String synopsis;

    @Override
    public String toString() {
        return "Topic{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", synopsis='" + synopsis + '\'' +
                '}';
    }

    public Topic() {
    }

    public Topic(Integer id, String title, String synopsis) {
        this.id = id;
        this.title = title;
        this.synopsis = synopsis;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSynopsis() {
        return synopsis;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }
}
